package com.cgwx.systemservice.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cgwx.systemservice.entity.sys.SysRole;
import com.cgwx.systemservice.entity.vo.SysRoleQueryVo;
import com.cgwx.systemservice.mapper.SysRoleMapper;
import com.cgwx.systemservice.service.SysRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 角色 服务实现类
 * </p>
 *
 * @author GaoWei
 * @since 2023-10-12
 */
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService {

//    条件分页查询角色
    @Override
    public IPage<SysRole> selectPage(Page<SysRole> pageParam, SysRoleQueryVo sysRoleQueryVo) {
        return baseMapper.selectPage(pageParam,sysRoleQueryVo);
    }
}
